import { createRouter, createWebHistory } from 'vue-router'
import HomeView from "../views/HomeView.vue";
import BlogView from "../views/BlogView.vue";
import ArticleView from "../views/ArticleView.vue";
import PhotoView from "../views/PhotoView.vue";
import PhotoDetailView from '../views/PhotoDetailView.vue';
import Resume from '@/views/Resume.vue';



const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', component: HomeView},
    { path: '/home', component: HomeView},
    { path: '/blog', component: BlogView},
    { path: '/article', component: ArticleView},
    { path: '/photo', component: PhotoView},
    { path: '/photoDetail', component:PhotoDetailView},
    { path: '/resume', component:Resume}
  ],
})

export default router
